<!-- This file is intended to be "included" in other format files. It is not
complete. See the [include] tag in files "detail.html", "update_reply.html" and
"add_reply.html". -->
<center>
<!-- Setting action="action.lasso" causes the Web server to direct processing to the Lasso Plug-in or Lasso Server. The form action statement demonstrates how to combine the "Post" and "Search" arguments to describe the Lasso action. "-database" and "-layout" indicate which FileMaker Pro database and layout to use; the names are not case sensitive. This method can be used in combination with hidden inputs to specify the elements of other Lasso tags.
A record ID is a unique number assigned by FileMaker Pro to identify a record.
-recid is the command tag used to indicate to lasso which record to act upon.
The [recid_value] tag is replaced by Lasso with the actual FileMaker Pro record
ID. The pair "-recid=[recid_value]" indicates to Lasso exactly which record in
the database to perform the action on. "-response" tells Lasso the name of the
template file to use for formatting output. The file name is not case
sensitive, and is required. The file must reside within the same folder as
Lasso or within a sub-folder of the folder that Lasso is in.
The action can be indicated anywhere in the statement, in this case it is
specified at the end. If a different action is used with a "submit" button,
then that action will be used in place of "update." In other words, whichever
is the last action on the form will be the action used, any earlier actions are
<!-- The rest of the input fields contain the data values to use when updating a record. The [field] tag tells Lasso to substitute a field value from the current record. The field name is a required parameter for the [field] tag. Field names are not case sensitive. The [field] tag may also be used in anchor and image tags. There are some examples here and in the file "hitlist_format.html".
[record] and [/record] tags are optional if only one record is being displayed. -->
<!-- The [math-add: ...] tag is used to increment a field by one, each time the record is displayed on a detail page. The value of the number field "visitcount" is returned to the [math-add: ...] tag to add one to the value, and then the inline adds the incremented value back to the database. The database_name and layout_name tags simply use whatever database and layout was used to get to the detail page. Note that a conditional statement so that the inline action only occurs when the last action is search. -->